package com.kx.center.entity.shop;

import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.kx.center.common.JsonDatetimeSerializer;

/**
 * Created by acmen on 16-1-12.
 */
public class ShopOrderRefund {

    private int id;
    private int orderId;
    private String orderNum;
    private String refundNum;
    private double amount;
    private int type;
    private String refundPostData;
    private String refundResult;
    private int status;
    private Date createTime;
    private Date updateTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getRefundNum() {
        return refundNum;
    }

    public void setRefundNum(String refundNum) {
        this.refundNum = refundNum;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getRefundPostData() {
        return refundPostData;
    }

    public void setRefundPostData(String refundPostData) {
        this.refundPostData = refundPostData;
    }

    public String getRefundResult() {
        return refundResult;
    }

    public void setRefundResult(String refundResult) {
        this.refundResult = refundResult;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
    @JsonSerialize(using = JsonDatetimeSerializer.class)
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    @JsonSerialize(using = JsonDatetimeSerializer.class)
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
